Post

Replies

Boosts

Views

Activity

Reply to How to clear locally cached SwiftData database on macOS
Found the path with that code : let urlApp = FileManager.default.urls(for: .applicationSupportDirectory, in: .userDomainMask).last let url = urlApp!.appendingPathComponent("default.store") if FileManager.default.fileExists(atPath: url.path) { print("swiftdata db at \(url.absoluteString)") } THen once in that folder I did rm -rf default* And the local coach is gone!
Mar ’24